package com.qfmy.model.entity.community;

import com.qfmy.model.entity.user.Users;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;



/**
 * @author 清风明月
 * @Package com.qfmy.model.entity.community
 * @date 2025/4/17
 * @description 帖子的评论
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class PostComment {
    @Schema(description = "评论ID")
    private Long id;

    @Schema(description = "帖子ID")
    private Long postId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "评论时间")
    private String createTime;

    @Schema(description = "评论用户ID")
    private Integer userId;

    @Schema(description = "评论的用户")
    private Users user;
}
